package com.base.api.dto.selfAddress;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class SelfAddressApiDelDTO implements Serializable {

    @NotNull(message = "收货地址id不能为空")
    @ApiModelProperty(value="收货地址id", example = "1")
    private Integer id;

    @NotBlank(message = "用户id不能为空")
    @ApiModelProperty(value="用户id")
    private String userId;
}
